Language

class Language

A language for which Chromium can perform spell checking.

This class contains a pre-defined set of languages supported by Chromium, and also allows you to create a new one from the language abbreviation pair.

Since

7.27

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun code(): String
Returns the language code.
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun of(code: String): Language
Returns a Language with the given code.
open fun of(code: String, region: String): Language
Creates a new Language with the given code and region.
Link copied to clipboard
open fun region(): Optional<String>
Returns an Optional that contains a string that represents the region or an empty Optional if the region is not specified.
Link copied to clipboard
open fun toString(): String
Returns a string representation of the Language.